package com.crane.oss.sys.bean.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 机构对应角色
 *
 * @author bealon
 * @email ccsu123456@qq.com
 * @date 2019年01月04日 14时54分46秒
 */
@Getter
@Setter
@ToString
public class PartyRoleBean implements Serializable {

	private static final long serialVersionUID = -8044162665341947894L;

	@ApiModelProperty(value = "机构角色ID", name = "id")
	private Long id;

	@ApiModelProperty(value = "机构类型： 0 管理机构 1市级机构  2区县机构  3学校机构", name = "partyType")
    private Integer partyType;

	@ApiModelProperty(value = "角色ID", name = "roleId")
    private Long roleId;

	@ApiModelProperty(value = "用户类型：1-管理员，9 普通用户 ", name = "userType")
    private Integer userType;

	@ApiModelProperty(value = "用户角色中文名称", name = "roleName")
	private String roleName;

	@ApiModelProperty(value = "用户类型中文名称", name = "userName")
    private String userName;

    @ApiModelProperty(value = "机构类型中文名称", name = "partyTypeName")
    private String partyTypeName;


}
